package com.baizan.daka.ui.adapter


import android.widget.TextView
import com.baizan.daka.mvp.model.bean.ShowCashBean
import com.baizan.daka.mvp.model.bean.UserCaplitalDes
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.dianzan.daka.R

class CapitalDesAdapter :
    BaseQuickAdapter<UserCaplitalDes, BaseViewHolder>(R.layout.item_capital_des) {


    override fun convert(helper: BaseViewHolder, item: UserCaplitalDes) {//#FF9211
        val jine = helper.getView<TextView>(R.id.jine_tv)
        val type = helper.getView<TextView>(R.id.type_tv)
        val status = helper.getView<TextView>(R.id.status_tv)
        jine.text = "${item.amount}元"
        type.text = item.operationTypeName
        status.text = "已到账"
    }


}